@page
@{ Layout = "_Layout"; }

<el-card>
    <div slot="header" class="clearfix">
        <span>{{ id>0 ? '修改' : '新增' }}</span>
        <el-button style="float: right;padding:3px 0;" type="text" v-on:click="utils.closeLayer(false)"><i class="el-icon-close"></i></el-button>
    </div>
    <el-scrollbar class="scrollbar" :style="{ height: ($(window).innerHeight()-180) + 'px' }">
        <div style="margin-right:18px;">
            <el-form v-on:submit.native.prevent ref="form" :model="form" :size="euiSize" status-icon label-width="110px">
                <el-form-item label="标题" prop="title" :rules="[{ required: true, message: '请输入标题' }]">
                    <el-input v-model.trim="form.title"></el-input>
                </el-form-item>
            </el-form>
        </div>
    </el-scrollbar>
</el-card>
<el-row align="center" style="margin-top:18px;">
    <el-col :span="24" align="center">
        <el-button type="primary" v-on:click="btnSubmitClick" :size="euiSize">保 存</el-button>
        <el-button icon="el-icon-close" :size="euiSize" v-on:click="btnCancelClick">关 闭</el-button>
    </el-col>
</el-row>
@section Scripts{
<script src="/sitefiles/assets/js/admin/xbl/crudDemoEdit.js" type="text/javascript"></script> }